package com.ly.user_system.log;


import lombok.extern.slf4j.Slf4j;


/**
 * todo 增加traceId方便日志追踪
 */
@Slf4j
public class LogMessage {



    public   static void infoLog(String formatStr,Object ...objs){
        log.info(formatStr,objs);
    }


    public  static void errorLog(Throwable throwable,String formatStr,Object ...objs){
        log.error(formatStr,objs,throwable);
    }
}
